<?php

namespace App\Remote\XiaoHongShu;

use App\Exceptions\BaseException;
use GuzzleHttp\Exception\GuzzleException;

class XhsBusinessBaseRemote extends Remote
{
    const SUCCESS_CODE = 1;
    const SUCCESS_FAIL = 0;

    /**
     * 构建公共请求头
     *
     * @return array
     * @throws BaseException
     * @throws GuzzleException
     */
    public static function buildBasicHeaders(): array
    {
        return array_merge(
            Remote::buildBasicHeaders(),
            XhsAuthRemote::getToken()
        ); // TODO: Change the autogenerated stub
    }
}
